package com.mvcMovie.service;

import com.mvcMovie.bean.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieService {
    List<com.mvcMovie.bean.Movie> getAllMovie();

    Movie selectById(Integer id);

    Movie getMovie(Integer id);

    Integer updateMovie(String movieName, Double movieScore, Integer id);

    Integer deleteMovie(Integer id);

    Integer addMovie(Movie movie);

}
